package com.cool.shark.mapper;

import com.cool.shark.pojo.dto.CarouselDTO;
import com.cool.shark.pojo.entity.Carousel;
import com.cool.shark.pojo.vo.CarouselVO;

import java.util.List;

/**
 * @Name: CarouselMapper
 * @Author: 西风残叶
 * @Date: 2024/4/1 20:59
 * @Version: 1.0
 * @TODO: TODO
 */
public interface CarouselMapper {
    int insert(String name);
    List<CarouselVO> list();
    Carousel select(String name);
    int delete(int id);
    int selectById(int id);

    int update(CarouselDTO carouselDTO);
}
